* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
    font-weight: 600;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Background */
.bg-image {
    position: fixed;
    inset: 0;
    z-index: 0;
    opacity: 0.1;
    background-image: url('https://images.unsplash.com/photo-1652212976547-16d7e2841b8c?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=M3w3Nzg4Nzd8MHwxfHNlYXJjaHwxfHxhYnN0cmFjdCUyMHRlY2hub2xvZ3klMjBibHVlfGVufDF8fHx8MTc2NDYwOTY1N3ww&ixlib=rb-4.1.0&q=80&w=1080');
    background-size: cover;
    background-position: center;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to bottom, transparent, rgba(15, 23, 42, 0.5), #0f172a);
}

/* Animated Particles */
.particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #60a5fa;
    border-radius: 50%;
    animation: float-particle 20s infinite ease-in-out;
    opacity: 0.6;
    will-change: transform, opacity;
}

@keyframes float-particle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translate(var(--tx), var(--ty)) scale(0.5);
        opacity: 0;
    }
}

/* Content */
.content {
    position: relative;
    z-index: 10;
    padding: 2rem 1rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 1rem;
    position: relative;
}

/* Supervisor Name Animation */
.supervisor-wrapper {
    margin-bottom: 3rem;
    position: relative;
}

.supervisor-label {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 1rem;
    animation: fade-in 1s ease-out;
}

.supervisor-name {
    font-size: 3.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    animation: slide-up 1.2s ease-out;
}

@media (max-width: 768px) {
    .supervisor-name {
        font-size: 2.5rem;
    }
}

/* 3D Text Effect */
.text-3d {
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #ec4899, #60a5fa);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 4s ease infinite, glow-pulse 2s ease-in-out infinite;
    text-shadow: 0 0 40px rgba(96, 165, 250, 0.5);
    position: relative;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.6));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(168, 85, 247, 0.8));
    }
}

/* Floating Ornaments */
.ornament {
    position: absolute;
    animation: float-ornament 6s ease-in-out infinite;
}

.ornament-1 {
    top: -30px;
    left: -50px;
    animation-delay: 0s;
}

.ornament-2 {
    top: -20px;
    right: -50px;
    animation-delay: 1s;
}

.ornament-3 {
    bottom: -30px;
    left: -40px;
    animation-delay: 2s;
}

.ornament-4 {
    bottom: -20px;
    right: -40px;
    animation-delay: 3s;
}

@keyframes float-ornament {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.ornament-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.4);
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Project Description */
.project-section {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    animation: fade-in 1.5s ease-out 0.5s backwards;
}

.project-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    padding: 3rem;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.1), transparent);
    transition: left 0.5s ease;
}

.project-card:hover::before {
    left: 100%;
}

.project-card:hover {
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 20px 60px rgba(96, 165, 250, 0.2);
    transform: translateY(-5px);
}

.project-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.project-title {
    color: white;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-description {
    color: #cbd5e1;
    font-size: 1.125rem;
    line-height: 1.8;
}

/* Team Section */
.team-section {
    padding: 4rem 1rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    animation: fade-in 1.5s ease-out 0.7s backwards;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #60a5fa, #a78bfa, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: #94a3b8;
    font-size: 1.125rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
    position: inherit;
    left: 50%;

}

/* Flip Card */
.team-card {
    perspective: 1000px;
    height: 320px;
    animation: fade-in 1s ease-out backwards;
}

.team-card:nth-child(1) { animation-delay: 0.9s; }
.team-card:nth-child(2) { animation-delay: 1s; }
.team-card:nth-child(3) { animation-delay: 1.1s; }
.team-card:nth-child(4) { animation-delay: 1.2s; }
.team-card:nth-child(5) { animation-delay: 1.3s; }
.team-card:nth-child(6) { animation-delay: 1.4s; }
.team-card:nth-child(7) { animation-delay: 1.5s; }
.team-card:nth-child(8) { animation-delay: 1.6s; }

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-card:hover .card-inner {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px solid rgba(148, 163, 184, 0.2);
    backdrop-filter: blur(10px);
}

.card-front {
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(30, 41, 59, 0.6));
    border-color: rgba(59, 130, 246, 0.3);
}

.card-back {
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.4), rgba(30, 41, 59, 0.6));
    border-color: rgba(168, 85, 247, 0.3);
    transform: rotateY(180deg);
}

/* Heart Animation Container */
.heart-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.heart-icon {
    width: 80px;
    height: 80px;
    position: relative;
    filter: drop-shadow( 0 0 5px lightblue);
    animation:icon-shadowAnimated 3s alternate infinite ;            
}
@keyframes icon-shadowAnimated
{
    0%
    {
        filter: drop-shadow( 0 0 5px lightblue);
    }
    25%
    {
        filter: drop-shadow( 0 0 8px  rgb(120, 53, 179));

    }
    50%
    {
        filter: drop-shadow( 0 0  5px lightblue);

    }
    75%
    {
        filter: drop-shadow( 0 0  8px rgb(69, 42, 177));

    }
    100%
    {
        filter: drop-shadow( 0 0 5px  lightblue);

    }


}



/* Particles around heart */
.heart-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ec4899;
    border-radius: 50%;
    animation: heart-particle-float 2s ease-in-out infinite;
}

.heart-particle:nth-child(1) {
    top: -10px;
    left: 50%;
    animation-delay: 0s;
}

.heart-particle:nth-child(2) {
    top: 50%;
    right: -10px;
    animation-delay: 0.3s;
}

.heart-particle:nth-child(3) {
    bottom: -10px;
    left: 50%;
    animation-delay: 0.6s;
}

.heart-particle:nth-child(4) {
    top: 50%;
    left: -10px;
    animation-delay: 0.9s;
}

@keyframes heart-particle-float {
    0%, 100% {
        opacity: 0;
        transform: translate(0, 0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translate(0, -10px) scale(1);
    }
}

.member-name {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
    text-align: center;
}

.member-role {
    color: #60a5fa;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Back card content */
.specialization-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    animation: rotate-icon 3s linear infinite;
}

@keyframes rotate-icon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.specialization-text {
    font-size: 1.75rem;
    color: white;
    margin-bottom: 0.5rem;
}

.specialization-label {
    color: #a78bfa;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation Button */
.nav-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    animation: fade-in 2s ease-out 2s backwards;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

/* Decorative Elements */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(96, 165, 250, 0.2);
    animation: rotate-deco 20s linear infinite;
}

.deco-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
}

.deco-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -200px;
    animation-direction: reverse;
}

@keyframes rotate-deco {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 768px) {
    .supervisor-name {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .project-card {
        padding: 2rem;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .nav-button {
        bottom: 1rem;
        right: 1rem;
    }
}
  
         
          /* ============================================
           Your Original Welcome Page Styles
           ============================================ */
        /* أضف هنا أكواد CSS الخاصة بـ welcome.css */
        
        /* ============================================
           Login Form Styles - Black, Red, Blue Theme
           ============================================ */

        /* Login Button Wrapper */
        .login-button-wrapper {
            position: fixed;
            top: 30px;
            right: 30px;
            z-index: 1000;
        }

        .show-login-btn {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 24px;
            background: linear-gradient(135deg, #dc2626, #1e40af);
            color: white;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3);
        }

        .show-login-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 6px 25px rgba(220, 38, 38, 0.5);
        }

        /* Login Section */
        .login-section {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.95);
            z-index: 10000;
            display: flex;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.4s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }

        /* Login Container */
        .login-container {
            position: relative;
            animation: slideUp 0.6s ease;
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Lamp Wrapper */
        .lamp-wrapper {
            display: flex;
            justify-content: center;
            margin-bottom: 30px;
        }

        .lamp-button {
            position: relative;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            outline: none;
        }

        .lamp-button:focus {
            outline: 2px solid #3b82f6;
            outline-offset: 4px;
            border-radius: 4px;
        }

        /* Lamp Cord */
        .lamp-cord {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            width: 2px;
            height: 80px;
            background: linear-gradient(to bottom, #333, #1a1a1a);
            top: -80px;
        }

        /* Lamp Shade */
        .lamp-shade {
            position: relative;
            transition: all 0.5s ease;
        }

        .lamp-shade svg {
            filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.5));
        }

        /* Lamp states */
        .lamp-on .lamp-shade {
            transform: scale(1.05);
        }

        .lamp-on #lampPath {
            fill: url(#lampGradientOn);
        }

        .lamp-on #lampRim {
            fill: #dc2626;
        }

        /* Lamp Glow */
        .lamp-glow {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .bulb-glow {
            width: 16px;
            height: 16px;
            background: #fbbf24;
            border-radius: 50%;
            animation: pulseLamp 2s ease-in-out infinite;
            box-shadow: 0 0 20px rgba(251, 191, 36, 0.8);
        }

        @keyframes pulseLamp {
            0%, 100% {
                opacity: 1;
                box-shadow: 0 0 20px rgba(251, 191, 36, 0.8);
            }
            50% {
                opacity: 0.8;
                box-shadow: 0 0 30px rgba(251, 191, 36, 1);
            }
        }

        /* Light Beam */
        .light-beam {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
            top: 80px;
            width: 0;
            height: 0;
            border-left: 150px solid transparent;
            border-right: 150px solid transparent;
            border-top: 0 solid transparent;
            filter: blur(20px);
            opacity: 0;
            transition: all 0.7s ease;
            pointer-events: none;
        }

        .light-beam.active {
            border-top: 100px solid rgba(251, 191, 36, 0.3);
            opacity: 1;
        }

        /* Login Card */
        .login-card {
            position: relative;
            background: linear-gradient(135deg, rgba(20, 20, 20, 0.95), rgba(10, 10, 10, 0.95));
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            width: 420px;
            max-width: 90vw;
            border: 2px solid #333;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
            transition: all 0.7s ease;
        }

        .login-card.illuminated {
            border-color: rgba(220, 38, 38, 0.6);
            box-shadow: 0 0 60px rgba(220, 38, 38, 0.5),
                        0 0 100px rgba(59, 130, 246, 0.3);
        }

        /* Close Button */
        .close-button {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            color: #666;
            cursor: pointer;
            padding: 5px;
            transition: all 0.3s ease;
            border-radius: 4px;
        }

        .close-button:hover {
            color: #fff;
            background: rgba(255, 255, 255, 0.1);
        }